#include<iostream>
using namespace std;
#include<assert.h>

#include"AVLTree.hpp"

void TestAVLTree()
{
	AVLTree<int, int> t;
	int a[] = { 16, 3, 7, 11, 9, 26, 18, 14, 15 };
	for (auto e : a)
	{
		t.Insert({ e, e });
	}

	t.InOrder();
	cout << endl;
	cout << t.IsBalanceTree() << endl;
}

int main()
{
	TestAVLTree();
	return 0;
}